Fox's Git Mirrors
Node / rns-mirrors / Reticulum-Go.git / files / examples / pageserver / internal / server / options.go
Displaying Raw • Download
examples/pageserver/internal/server/options.go 9eb1d8a4a2c2fa7c16a4586f6227eaf9f617c5cc (9eb1d8a4) Text, 630 B
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2024-2026 Quad4.io
package server
import "time"
// Options are runtime paths and intervals for the page node (from CLI flags).
type Options struct {
PagesDir string
FilesDir string
PageRefreshInterval time.Duration
FileRefreshInterval time.Duration
AnnounceIntervalMinutes int
IdentityFileOverride string
NodeDisplayName string
// DisablePageStats omits the built-in /page/__pageviews.mu handler and skips
// recording view counts. A static pages/__pageviews.mu file can still be served.
DisablePageStats bool
}
Served by rngit 1.5.2 - Generated in 0.02s